/*     */ package eos.moe.dragoncore;
/*     */ 
/*     */ import eos.moe.dragoncore.api.model.AnimationEntityModel;
/*     */ import java.util.Objects;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class ci
/*     */   extends ji
/*     */ {
/*     */   private final int z;
/*     */   private final gk.eos/moe/dragoncore/ih i;
/*     */   private final bo w;
/*     */   private final int g;
/*     */   
/*     */   public ci(int i, gk.eos/moe/dragoncore/ih eos/moe/dragoncore/ih1) {
/*  21 */     this(null, 0, i, eos/moe/dragoncore/ih1);
/*     */   }
/*     */ 
/*     */   
/*     */   public ci(bo bo1, int i, int j, gk.eos/moe/dragoncore/ih eos/moe/dragoncore/ih1) {
/*  26 */     super(null, 1.0F, eos/moe/dragoncore/ih1);
/*     */     
/*  28 */     pk.t(j, 0);
/*     */     
/*  30 */     this.z = j;
/*  31 */     this.i = eos/moe/dragoncore/ih1;
/*  32 */     this.w = bo1;
/*  33 */     this.g = i;
/*     */ 
/*     */     
/*  36 */     this.q = zm.v(bo1, z(), j);
/*     */   }
/*     */ 
/*     */   
/*     */   public void v(AnimationEntityModel animationEntityModel) {
/*  41 */     super.v(animationEntityModel);
/*  42 */     if (animationEntityModel != null) {
/*  43 */       this.q = zm.v(this.w, this.g, z(), animationEntityModel.getBaseModel(), this.z);
/*     */     } else {
/*  45 */       this.q = zm.v(this.w, z(), this.z);
/*     */     } 
/*     */   }
/*     */ 
/*     */ 
/*     */   
/*     */   public ji v() {
/*  52 */     return (this.i != null) ? new ji(this.i) : null;
/*     */   }
/*     */   
/*     */   public bo z() {
/*  56 */     return (this.i != null) ? this.i.v() : null;
/*     */   }
/*     */ 
/*     */   
/*     */   public int v() {
/*  61 */     return this.z;
/*     */   }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   public boolean equals(Object object) {
/*  79 */     if (this == object) return true; 
/*  80 */     if (!(object instanceof ci)) return false; 
/*  81 */     ci ci1 = (ci)object;
/*     */     
/*  83 */     boolean bool = false;
/*  84 */     if (this.i == null && ci1.i == null) {
/*  85 */       bool = true;
/*  86 */     } else if (this.i != null && ci1.i != null && 
/*  87 */       this.i.v().equals(ci1.i.v()) && 
/*  88 */       Float.compare(this.i.v(), ci1.i.v()) == 0) {
/*  89 */       bool = true;
/*     */     } 
/*     */ 
/*     */     
/*  93 */     return (bool && this.z == ci1.z && 
/*     */       
/*  95 */       Objects.equals(this.w, ci1.w));
/*     */   }
/*     */ 
/*     */   
/*     */   public int hashCode() {
/* 100 */     bo bo1 = z();
/* 101 */     float f = (this.i != null) ? this.i.v() : 0.0F;
/*     */     
/* 103 */     return Objects.hash(new Object[] { Integer.valueOf(super.hashCode()), Integer.valueOf(this.z), bo1, Float.valueOf(f), this.w });
/*     */   }
/*     */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\ci.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */